package com.zxl.designpattern.structure.bridge;

/**
 * @author zxl
 * @version 1.0
 * @description 交通工具实现-火车
 * @date 2025/6/1 14:22
 */
public class Train implements Transport {
    @Override
    public void move(String from, String to) {
        System.out.printf("乘坐火车从%s前往%s%n", from, to);
    }
}